/*
 * Copyright 2017-2101 Innel.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.hykj.xxltest.model;

        import com.hykj.xxltest.base.BaseModel;
        import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
import java.util.Date;



/**
 * 
 *
 * @author innel
 * @email 2638086622@qq.com
 * @date 2018-07-04 14:27:49
 */
@ApiModel(description = "")
public class CourierorderModel extends BaseModel {

	        /**
         * id
         */
        @ApiModelProperty(value = "id")
        private Integer id;
	        /**
         * 用户ID
         */
        @ApiModelProperty(value = "用户ID")
        private Integer userid;
	        /**
         * 买家会员名
         */
        @ApiModelProperty(value = "买家会员名")
        private String username;
	        /**
         * 联系人姓名
         */
        @ApiModelProperty(value = "联系人姓名")
        private String linkname;
	        /**
         * 联系手机
         */
        @ApiModelProperty(value = "联系手机")
        private String linkphone;
	        /**
         * 收货地址
         */
        @ApiModelProperty(value = "收货地址")
        private String linkaddress;
	        /**
         * 买家留言
         */
        @ApiModelProperty(value = "买家留言")
        private String usermemo;
	        /**
         * 订单备注
         */
        @ApiModelProperty(value = "订单备注")
        private String ordermemo;
	        /**
         * 宝贝数量
         */
        @ApiModelProperty(value = "宝贝数量")
        private BigDecimal goodnum;
	        /**
         * 修改后的收货地址
         */
        @ApiModelProperty(value = "修改后的收货地址")
        private String newaddress;
	        /**
         * 0 未支付 1 微信 2 余额 3 线下
         */
        @ApiModelProperty(value = "0 未支付 1 微信 2 余额 3 线下")
        private Integer paytype;
	        /**
         * 1 = 安装 2= 维修
         */
        @ApiModelProperty(value = "1 = 安装 2= 维修")
        private Integer ordertype;
	        /**
         * 创建时间
         */
        @ApiModelProperty(value = "创建时间")
        private Date createTime;
	        /**
         * 后台分配时间
         */
        @ApiModelProperty(value = "后台分配时间")
        private Date fpTime;
	        /**
         * 工人确认时间
         */
        @ApiModelProperty(value = "工人确认时间")
        private Date confirmTime;
	        /**
         * 订单状态 -1 =已删除 0 = 待分配 1=已分配待确认 2 已确认待完成 3=已完成
         */
        @ApiModelProperty(value = "订单状态 -1 =已删除 0 = 待分配 1=已分配待确认 2 已确认待完成 3=已完成")
        private Integer status;

        /**
     * 订单备注
     */
    @ApiModelProperty(value = "订单状态内容")
    private String statusname;

    @ApiModelProperty(value = "配送员id")
    private Integer courierid;

    @ApiModelProperty(value = "配送员姓名")
    private String couriername;

    @ApiModelProperty(value = "工人完成订单时间")
    private Date end_time;

    @ApiModelProperty(value = "订单号")
    private String orderno;

    @ApiModelProperty(value = "预约时间")
    private Date appointment_time;

    public  void  setOrderno(String orderno){this.orderno = orderno;}
    public  String getOrderno(){return orderno;}

    public void setAppointment_time(Date appointment_time){this.appointment_time = appointment_time;}
    public  Date getAppointment_time(){return appointment_time;}

    public  void  setEnd_time(Date end_time){this.end_time = end_time;}
    public  Date getEnd_time(){return  end_time;}

    public  void  setCouriername(String couriername){this.couriername = couriername;}
    public  String getCouriername(){return  couriername;}

    public  void  setCourierid(Integer courierid){this.courierid = courierid;}
    public  Integer getCourierid(){return  courierid;}
    /**
     *  设置: 状态名称
     */
        public  void  setStatusname(String statusname){this.statusname = statusname;}
        public  String getStatusname(String statusname){return  statusname;}

    /**
         * 设置：id
         */
        public void setId(Integer id) {
            this.id = id;
        }
        /**
         * 获取：id
         */
        public Integer getId() {
            return id;
        }
	        /**
         * 设置：用户ID
         */
        public void setUserid(Integer userid) {
            this.userid = userid;
        }
        /**
         * 获取：用户ID
         */
        public Integer getUserid() {
            return userid;
        }
	        /**
         * 设置：买家会员名
         */
        public void setUsername(String username) {
            this.username = username;
        }
        /**
         * 获取：买家会员名
         */
        public String getUsername() {
            return username;
        }
	        /**
         * 设置：联系人姓名
         */
        public void setLinkname(String linkname) {
            this.linkname = linkname;
        }
        /**
         * 获取：联系人姓名
         */
        public String getLinkname() {
            return linkname;
        }
	        /**
         * 设置：联系手机
         */
        public void setLinkphone(String linkphone) {
            this.linkphone = linkphone;
        }
        /**
         * 获取：联系手机
         */
        public String getLinkphone() {
            return linkphone;
        }
	        /**
         * 设置：收货地址
         */
        public void setLinkaddress(String linkaddress) {
            this.linkaddress = linkaddress;
        }
        /**
         * 获取：收货地址
         */
        public String getLinkaddress() {
            return linkaddress;
        }
	        /**
         * 设置：买家留言
         */
        public void setUsermemo(String usermemo) {
            this.usermemo = usermemo;
        }
        /**
         * 获取：买家留言
         */
        public String getUsermemo() {
            return usermemo;
        }
	        /**
         * 设置：订单备注
         */
        public void setOrdermemo(String ordermemo) {
            this.ordermemo = ordermemo;
        }
        /**
         * 获取：订单备注
         */
        public String getOrdermemo() {
            return ordermemo;
        }
	        /**
         * 设置：宝贝数量
         */
        public void setGoodnum(BigDecimal goodnum) {
            this.goodnum = goodnum;
        }
        /**
         * 获取：宝贝数量
         */
        public BigDecimal getGoodnum() {
            return goodnum;
        }
	        /**
         * 设置：修改后的收货地址
         */
        public void setNewaddress(String newaddress) {
            this.newaddress = newaddress;
        }
        /**
         * 获取：修改后的收货地址
         */
        public String getNewaddress() {
            return newaddress;
        }
	        /**
         * 设置：0 未支付 1 微信 2 余额 3 线下
         */
        public void setPaytype(Integer paytype) {
            this.paytype = paytype;
        }
        /**
         * 获取：0 未支付 1 微信 2 余额 3 线下
         */
        public Integer getPaytype() {
            return paytype;
        }
	        /**
         * 设置：1 = 安装 2= 维修
         */
        public void setOrdertype(Integer ordertype) {
            this.ordertype = ordertype;
        }
        /**
         * 获取：1 = 安装 2= 维修
         */
        public Integer getOrdertype() {
            return ordertype;
        }
	        /**
         * 设置：创建时间
         */
        public void setCreateTime(Date createTime) {
            this.createTime = createTime;
        }
        /**
         * 获取：创建时间
         */
        public Date getCreateTime() {
            return createTime;
        }
	        /**
         * 设置：后台分配时间
         */
        public void setFpTime(Date fpTime) {
            this.fpTime = fpTime;
        }
        /**
         * 获取：后台分配时间
         */
        public Date getFpTime() {
            return fpTime;
        }
	        /**
         * 设置：工人确认时间
         */
        public void setConfirmTime(Date confirmTime) {
            this.confirmTime = confirmTime;
        }
        /**
         * 获取：工人确认时间
         */
        public Date getConfirmTime() {
            return confirmTime;
        }
	        /**
         * 设置：订单状态 -1 =已删除 0 = 待分配 1=已分配待确认 2 已确认待完成 3=已完成
         */
        public void setStatus(Integer status) {
            this.status = status;
        }
        /**
         * 获取：订单状态 -1 =已删除 0 = 待分配 1=已分配待确认 2 已确认待完成 3=已完成
         */
        public Integer getStatus() {
            return status;
        }
	}
